package com.cloud.api.domain.alarm;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import java.io.Serializable;

@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "StatusUpdate")
public class StatusUpdate implements Serializable {

    @Schema(description = "主键")
    @NotEmpty(message = "{validation.common.id}")
    private String id;

    @Schema(description = "报警短信状态")
    @NotNull(message = "{validation.alarm.SmsStatus}")
    private Integer SmsStatus;
}
